package com.spring.api.web.dao;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.spring.api.web.model.ApiUser;

public interface ApiUserDetailMapper {
	ApiUser selectUserDetail(@Param(value="id") String id);
	
	ApiUser selectUserDetailByUserName(@Param(value="username") String username);
	
	ApiUser selectUserDetailByPhone(@Param(value="phone") String phone);
	
	int updateWxPoint(Map<String,Object> s);
	
	int updateUserHeadImage(Map<String,Object> s);
	
	int saveUserDetail(Map<String,Object> s);
	
	List<Map<String,Object>> queryUserImage(List<String> list);
	
	
	List<Map<String,Object>> getFamilyByCode(String code);
	String getRoleByID(String c_user_id);
	int getRoleCount(HashMap<String ,Object> hm);
	int updateCode(HashMap<String ,Object> hm);
	
	int addinviteCodeLog(Map<String,Object> s);
}
